/*  1:   */ package org.jetbrains.jps.model.module.impl;
/*  2:   */ 
/*  3:   */

import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.JpsElement;
import org.jetbrains.jps.model.ex.JpsElementChildRoleBase;
import org.jetbrains.jps.model.library.sdk.JpsSdkReference;
import org.jetbrains.jps.model.library.sdk.JpsSdkType;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */ 
/*  9:   */ public class JpsSdkReferenceRole<P extends JpsElement>
/* 10:   */   extends JpsElementChildRoleBase<JpsSdkReference<P>>
/* 11:   */ {
/* 12:   */   private final JpsSdkType<P> a;
/* 13:   */   
/* 14:   */   public JpsSdkReferenceRole(@NotNull JpsSdkType<P> paramJpsSdkType)
/* 15:   */   {
/* 16:28 */     super("sdk reference " + paramJpsSdkType);
/* 17:29 */     this.a = paramJpsSdkType;
/* 18:   */   }
/* 19:   */   
/* 20:   */   public int hashCode()
/* 21:   */   {
/* 22:34 */     return this.a.hashCode();
/* 23:   */   }
/* 24:   */   
/* 25:   */   public boolean equals(Object paramObject)
/* 26:   */   {
/* 27:39 */     return ((paramObject instanceof JpsSdkReferenceRole)) && (this.a.equals(((JpsSdkReferenceRole)paramObject).a));
/* 28:   */   }
/* 29:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.module.impl.JpsSdkReferenceRole

 * JD-Core Version:    0.7.0.1

 */